package supporter;

import com.alibaba.fastjson.JSONObject;

/**
 * @author deekian
 */
public class Message extends RuntimeException {
    private static final long serialVersionUID = -5773863139134633857L;
    public JSONObject message;
    public String text;

    public Message(JSONObject message) {
        this.message = message;
        this.text = message.toString();
    }

    public Message(String text){
        this.text = text;
    }
}
